#include<stdio.h>

int main(int argc,char*argv[])
{
    if(argc<4)
    {
        perror("参数不够");
        return -1;
    }

    const char *file1 = argv[1];
    const char *file2 = argv[2];
    const char *file3 = argv[3];

    int ret1 = remove(file1);
    int ret2 = remove(file2);
    int ret3 = remove(file3);

    if(ret1 == -1)
    {
        perror("file1删除失败");
    }

    if(ret2 == -1)
    {
        perror("file2删除失败");
    }

    if(ret3 == -1)
    {
        perror("file3删除失败");
    }
    return 0;
}